//
//  AKMediaEntry.h
//  CocoaBean
//
//  Created by sleeper on 5/31/10.
//  Copyright 2010 __MyCompany__, Inc. All rights reserved.
//

#import "AKEntry.h"

enum {
	AKMediaTypeNone = -1,
	AKMediaTypeBook = AKEntryCategoryBook,
	AKMediaTypeMovie = AKEntryCategoryMovie,
	AKMediaTypeMusic = AKEntryCategoryMusic
};
typedef NSInteger AKMediaType; 

@interface AKMediaEntry : AKEntry {	
	NSArray *_translators;
	NSArray *_bookAuthors;
	
	NSArray *_tracks;
	NSArray *_singers;
	
	NSArray *_writers;
	NSArray *_directors;
	NSArray *_casts;
	
	// Common
	NSArray *_akas;
}

@property (nonatomic, readonly) NSString *summary;
@property (nonatomic, readonly) NSString *publishDate;

@property (nonatomic, readonly) NSArray *akas;

- (NSArray *)akasForLanguage:(NSString *)language;

@end

@interface AKMediaEntry (Book)

@property (nonatomic, readonly) NSString *isbn10;
@property (nonatomic, readonly) NSString *isbn13;
@property (nonatomic, readonly) NSString *bookTitle;
@property (nonatomic, readonly) NSString *pages;

@property (nonatomic, readonly) NSArray *translators;
@property (nonatomic, readonly) NSArray *bookAuthors;

@property (nonatomic, readonly) NSString *price;
@property (nonatomic, readonly) NSString *publisher;
@property (nonatomic, readonly) NSString *binding;
@property (nonatomic, readonly) NSString *authorIntro;

@end

@interface AKMediaEntry (Music)

@property (nonatomic, readonly) NSArray *tracks;
@property (nonatomic, readonly) NSArray *singers;

@property (nonatomic, readonly) NSString *numberOfDiscs;
@property (nonatomic, readonly) NSString *ean;
@property (nonatomic, readonly) NSString *musicVersion;
@property (nonatomic, readonly) NSString *allTracks;
@property (nonatomic, readonly) NSString *albumTitle;
@property (nonatomic, readonly) NSString *publishDate;
@property (nonatomic, readonly) NSString *media;

@end

@interface AKMediaEntry (Movie)

@property (nonatomic, readonly) NSString *year;
@property (nonatomic, readonly) NSArray *writers;
@property (nonatomic, readonly) NSArray *directors;
@property (nonatomic, readonly) NSString *language;
@property (nonatomic, readonly) NSString *siteURL;
@property (nonatomic, readonly) NSString *imdbURL;
@property (nonatomic, readonly) NSString *country;
@property (nonatomic, readonly) NSString *episodes;
@property (nonatomic, readonly) NSArray *casts;

@end


/*
@interface AKEntry (Title)
@interface AKEntry (Tags)
@interface AKEntry (Rating)
@interface AKEntry (Authors)
 */
